home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3928 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: uwm.edu!caen!dbarrett
  2. From: dbarrett@news-server.engin.umich.edu (David M Barrett)
  3. Newsgroups: comp.lang.c
  4. Subject: Watcom and fread bug (?)
  5. Date: 1 Feb 1996 00:57:47 GMT
  6. Organization: University of Michigan Engineering, Ann Arbor
  7. Message-ID: <4ep36b$a7n@srvr1.engin.umich.edu>
  8. NNTP-Posting-Host: dbarrett@blazers.engin.umich.edu
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Has anyone else had a problem such as this?  I'm simply reading in a 
  12. couple of bytes using the fread command, and a variable (one byte, which 
  13. was set to a value of 1) spontaneously switches to the value of 128.   
  14. The value that I was reading in was 21, and the variable that I was going 
  15. to store it at is nowhere NEAR the variable that suddenly changed.  I 
  16. know that this is a rather poor explanation, but I was wondering if this 
  17. is some type of bug.  And comments?  Has anyone heard of many Watcom 10.0 
  18. bugs?
  19.  
  20. -David :)
  21.  
  22. --
  23. -----------------------------------------------------------------------------
  24.  David M. Barrett :)         |     University of Michigan / CAEN Hotline
  25.  dbarrett@engin.umich.edu    | http://www-personal.engin.umich.edu/~dbarrett
  26. -----------------------------------------------------------------------------
  27.